package com.active.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ActiveInfo {

    private Integer id;

    private String name;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss.SSSZ")
    private Date startTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss.SSSZ")
    private Date endTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss.SSSZ")
    private Date finishedTime;

    private Integer listId;

    /**
     * 0-未完成
     * 1-已完成
     */
    private Integer state;

    private Integer currentIndex;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getListId() {
        return listId;
    }

    public void setListId(Integer listId) {
        this.listId = listId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getFinishedTime() {
        return finishedTime;
    }

    public void setFinishedTime(Date finishedTime) {
        this.finishedTime = finishedTime;
    }

    public Integer getCurrentIndex() {
        return currentIndex;
    }

    public void setCurrentIndex(Integer currentIndex) {
        this.currentIndex = currentIndex;
    }
}
